﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Notenberechner_C_Sharp
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
        Drucken_Klasse_C d = new Drucken_Klasse_C();

        d.clear();
        d.überschrift = ("Test Seite");
        d.abstand = 50;
        d.add("Text 1", "text 2");
        d.add("Text 3", "text 4");
        d.add("-----", "------");
        d.add("Text 1", "text 2");
        d.add("Text 3", "text 4");
        d.add("-----", "------");
        d.drucken();

        }
    }
}
